var combatant = argument0;
var attackFactory = argument1;
ds_list_add(combatant.attacks, attackFactory);
ds_map_add(combatant.attackCooldowns, attackFactory, 0);
